package com.genokon.druid.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.genokon.druid.annotation.DataSource;
import com.genokon.druid.entity.GenHpoTemp;
import com.genokon.druid.enums.DataSourceEnum;
import com.genokon.druid.mapper.GenHpoTempMapper;
import com.genokon.druid.service.GenHpoTempService;
import org.springframework.stereotype.Service;

/**
 * @author by baichaoda
 * @date 2020/7/31 11:06
 */
@Service("GenHpoTempService")
public class GenHpoTempServiceImpl extends ServiceImpl<GenHpoTempMapper, GenHpoTemp> implements GenHpoTempService {
    @Override
    public boolean save(GenHpoTemp entity) {
        return super.save(entity);
    }

    @Override
    public boolean saveOrUpdate(GenHpoTemp entity, Wrapper<GenHpoTemp> updateWrapper) {
        return super.saveOrUpdate(entity, updateWrapper);
    }
}
